package com.example.gulimallcoupon.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 首页专题表【jd首页下面很多专题，每个专题链接新的页面，展示专题商品信息】
 * 
 * @author zzl
 * @email zzl@gmail.com
 * @date 2025-10-27 08:42:24
 */
//@Data
@TableName("sms_home_subject")
public class HomeSubjectEntity implements Serializable {
	private static final long serialVersionUID = 1L;
	/**
	 * id
	 */
	@TableId
	private Long id;
	/**
	 * 专题名字
	 */
	private String name;
	/**
	 * 专题标题
	 */
	private String title;
	/**
	 * 专题副标题
	 */
	private String subTitle;
	/**
	 * 显示状态
	 */
	private Integer status;
	/**
	 * 详情连接
	 */
	private String url;
	/**
	 * 排序
	 */
	private Integer sort;
	/**
	 * 专题图片地址
	 */
	private String img;

	public HomeSubjectEntity() {
	}

	public HomeSubjectEntity(Long id, String name, String title, String subTitle, Integer status, String url, Integer sort, String img) {
		this.id = id;
		this.name = name;
		this.title = title;
		this.subTitle = subTitle;
		this.status = status;
		this.url = url;
		this.sort = sort;
		this.img = img;
	}

	/**
	 * 获取
	 * @return id
	 */
	public Long getId() {
		return id;
	}

	/**
	 * 设置
	 * @param id
	 */
	public void setId(Long id) {
		this.id = id;
	}

	/**
	 * 获取
	 * @return name
	 */
	public String getName() {
		return name;
	}

	/**
	 * 设置
	 * @param name
	 */
	public void setName(String name) {
		this.name = name;
	}

	/**
	 * 获取
	 * @return title
	 */
	public String getTitle() {
		return title;
	}

	/**
	 * 设置
	 * @param title
	 */
	public void setTitle(String title) {
		this.title = title;
	}

	/**
	 * 获取
	 * @return subTitle
	 */
	public String getSubTitle() {
		return subTitle;
	}

	/**
	 * 设置
	 * @param subTitle
	 */
	public void setSubTitle(String subTitle) {
		this.subTitle = subTitle;
	}

	/**
	 * 获取
	 * @return status
	 */
	public Integer getStatus() {
		return status;
	}

	/**
	 * 设置
	 * @param status
	 */
	public void setStatus(Integer status) {
		this.status = status;
	}

	/**
	 * 获取
	 * @return url
	 */
	public String getUrl() {
		return url;
	}

	/**
	 * 设置
	 * @param url
	 */
	public void setUrl(String url) {
		this.url = url;
	}

	/**
	 * 获取
	 * @return sort
	 */
	public Integer getSort() {
		return sort;
	}

	/**
	 * 设置
	 * @param sort
	 */
	public void setSort(Integer sort) {
		this.sort = sort;
	}

	/**
	 * 获取
	 * @return img
	 */
	public String getImg() {
		return img;
	}

	/**
	 * 设置
	 * @param img
	 */
	public void setImg(String img) {
		this.img = img;
	}

	public String toString() {
		return "HomeSubjectEntity{id = " + id + ", name = " + name + ", title = " + title + ", subTitle = " + subTitle + ", status = " + status + ", url = " + url + ", sort = " + sort + ", img = " + img + "}";
	}
}
